<%-- 
    Document   : confirmBox
    Created on : Jul 25, 2013, 5:35:44 PM
    Author     : hungpse02730
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script>
            function deleteIt() {
                if (confirm('Delete?')) {
                    window.location = 'http://google.com';
                }
                return false;
            }
        </script>
    </head>
    <body>
        <a href="#" onclick="return deleteIt()">Delete using script</a>
    </body>
</html>
